<?php
    header('Content-type: text/json');
    $callback = isset($_GET["callback"])?$_GET["callback"]:"callback";
    $json_string='{"data":"<div class=\"crlm-item\"><img src=\"\" class=\"goods-img img-error jImg\" data-url=\"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1491743215178&di=6f14dab4e34725e122ab3114a2057f10&imgtype=0&src=http%3A%2F%2Fpic.58pic.com%2F58pic%2F12%2F39%2F35%2F96T58PICQX5.jpg\"><div class=\"crlm-details\"><div class=\"crlm-bd f-l\"><div class=\"crlm-name\">如何治愈失眠课程培训</div><div class=\"crlm-price\">￥288.00</div></div><div class=\"crlm-num f-r\">剩余<em>2</em>份</div></div></div>"}';
    /* 测试数据 end */
    $obj=json_decode($json_string);
    echo $callback . "(". json_encode($obj). ")";
    exit;
?>